package com.example.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import java.util.Date;

@Data
@Entity
@Table(name = "tb_notice")
public class Notice {
    @Id
    @TableId
    private String id;
    private String uid;
    private String title;
    private String content;
    private String state = "1";
    private Date createTime;
    private Date updateTime;
}
